package com.atguigu.common.exception.enumtion;



public enum OrderEnum {
    NO_PAY(0,"待付款"),
    NO_FAHUO(1,"待发货"),
    YI_FAHUO(2,"已发货"),
    FINISH(3,"已完成"),
    CLOSED(4,"已关闭");

   private int code;
   private String msg;

    OrderEnum(int code, String msg) {
        this.code=code;
        this.msg=msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
